package com.hsp.Demo_05_extends;

public class Demo_03 {
    public static void main(String[] args) {

    }
}

class A03{

    public String  getName(){
        System.out.println("name");
        return "a";
    }
}

class B03 extends A03{

    public String getName(){
        System.out.println("B03==name");
        return "b";
    }
}